package com.aote.expression.paramprocessor;

import java.util.Collection;
import java.util.Map;

import org.w3c.dom.Element;

import com.aote.expression.Param;
import com.browsesoft.htmlcomponent.HTMLBasicComponent;
import com.browsesoft.user.User;

/**
 * 多值处理器返回值与单值不同，添加了新的处理方法
 */
public abstract class MultiValueParamProcessor implements ParamProcessor {
	/**
	 * 把原来单值参数处理器实现掉
	 */
	public String process(Param param, Map attribures, User loginUser,
			HTMLBasicComponent component) throws NoFitValueException {
		return null;
	}

	/**
	 * 添加新的多值处理
	 */
	public abstract Collection process(Param param, Map attr,
			HTMLBasicComponent comp, Element element)
			throws NoFitValueException;
}
